﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace Projektet.Controller
{
    class MenuController
    {
        private View.MenuView _menuView;
        private int _levelCount;

        public MenuController(int levelCount) 
        {
            _levelCount = levelCount;
            _menuView = new View.MenuView(levelCount);
        }

        public void LoadContent(ContentManager contManager) 
        {
            _menuView.LoadContent(contManager);
        }

        public void Draw(SpriteBatch spriteBatch, GameState gameState) 
        {
            _menuView.Draw(spriteBatch, gameState);
        }
    }
}
